package com.test.springmvc.entities;

import lombok.Data;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/10/11 18:20
 */
@Data
public class User {
    private Integer id;
    private String username;
    private String email;
    private Integer age;
    private String password;
    private Address address;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", email='" + email + '\'' +
                ", age=" + age +
                ", password='" + password + '\'' +
                '}';
    }
}
